﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ValidationFramework.Facts.Research.Fakes
{
	class AlwaysFailValueValidator : IValueValidator
	{
		#region IValueValidator Members

		public string GetDefaultParamErrorMessage(ValidationFramework.ErrorMessage.ParamMessageContext context)
		{
			return "Parameter is invalid";
		}

		public string GetDefaultPropertyErrorMessage(ValidationFramework.ErrorMessage.PropertyMessageContext context)
		{
			return "Property is invalid";
		}

		public bool Validate(object value)
		{
			return false;
		}

		public bool IsEquivalent(IValueValidator rule)
		{
			return false;
		}

		#endregion
	}
}
